<form class="form-add-bid-agency" action="${request.contextPath}/config/bid-agency/update" method="post">
	<input type="hidden" name="id" value="${data.id}">
	<div class="row">
		<#if admin?? && admin>
		<!-- 管理员新增的时候需要选择所属单位 -->
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">
							<span class="not-null-star">*</span>
							配置单位
						</div>
					</div>
					<select class="form-control form-data not-empty" name="owner.id">
						<#if orgs??> <#list orgs as o>
						<option value="${o.id}" ${((ownerId==o.id)?string('selected',''))!''}>${o.name}</option>
						</#list> </#if>
					</select>
				</div>
			</div>
		</div>
		<#else>
		<input type="hidden" name="owner.id" value="${Session['login_user'].orgId}">
		</#if>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">
							<span class="not-null-star">*</span>
							机构名称
						</div>
					</div>
					<input type="text" class="form-control form-data not-empty" name="company" value="${data.company}" placeholder="最多50个汉字">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">地址</div>
					</div>
					<input type="text" class="form-control" name="addr" value="${data.addr}" placeholder="最多100个汉字">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">邮编</div>
					</div>
					<input type="text" class="form-control" name="zip" value="${data.zip}" placeholder="只能是数字">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">网址</div>
					</div>
					<input type="text" class="form-control" name="url" value="${data.url}" placeholder="最多100个英文" value="http://">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">开户名称</div>
					</div>
					<input type="text" class="form-control" name="accountName" value="${data.accountName}" placeholder="最多50个中文">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">开户银行</div>
					</div>
					<input type="text" class="form-control" name="accountBank" value="${data.accountBank}" placeholder="最多50个中文">
				</div>
			</div>
		</div>
		<div class="col-md-12">
			<div class="form-group">
				<div class="input-group">
					<div class="input-group-addon">
						<div class="form-item-title">银行账号</div>
					</div>
					<input type="text" class="form-control" name="accountNo" value="${data.accountNo}" placeholder="最多30个数字">
				</div>
			</div>
		</div>
	</div>
</form>
